package com.wtx.atguigu.netty;

import io.netty.util.NettyRuntime;

/**
 * @description:
 * @author: wtx
 * @createDate: 2020/6/9
 */
public class TestNettyRuntime {
    public static void main(String[] args) {
        // 返回cpu的核数: 8
        System.out.println(NettyRuntime.availableProcessors());
    }
}
